﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Ylh.IDAL
{
    public interface ICustServer
    {
        /// <summary>
        /// 增加一条数据
        /// </summary>
        int InserServer(string ConStr, Ylh.Model.TbCustServer model);

        /// <summary>
        /// 更新一条数据
        /// </summary>
        bool UpdateServer(string ConStr, Ylh.Model.TbCustServer model);


        /// <summary>
        /// 删除一条数据
        /// </summary>
        bool DeleteServerInfo(string ConStr, int CustServerID);



        /// <summary>
        /// 得到一个对象实体
        /// </summary>
        Ylh.Model.TbCustServer GetModel(string ConStr, int CustServerID);



        /// <summary>
        /// 查找所有数据
        /// </summary>
        /// <param name="ConStr"></param>
        /// <param name="CustID"></param>
        /// <returns></returns>
        DataTable SelectServerInfo(string ConStr, int CustID);
       


    }
}
